package at.fhooe.swa.client.domain;

public class DoubleSensor extends AbstractSensor implements IDoubleSensor
{
	private double minVal;
	private double maxVal;
	private double initVal;
	
	public DoubleSensor(String key, String displayLabel, String unit, double minVal,
			double maxVal, double initVal)
	{
		super(key, displayLabel, unit);
		this.minVal = minVal;
		this.maxVal = maxVal;
		this.initVal = initVal;
	}



	@Override
	public double getMinVal()
	{
		return minVal;
	}

	@Override
	public double getMaxVal()
	{
		return maxVal;
	}

	@Override
	public double getInitVal()
	{
		return initVal;
	}}
